﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SharpSoft
{
    /// <summary>
    /// 抛出该错误表示直接向用户展示错误消息内容
    /// </summary>
    [Serializable]
    public class MessageException : Exception
    {
        public MessageException() { }
        public MessageException(string message) : base(message) { }
        public MessageException(string message, Exception inner) : base(message, inner) { }
        protected MessageException(
          System.Runtime.Serialization.SerializationInfo info,
          System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
    }
}
